home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu314.dms / pu314.adf / NComm / ExampleI.script < prev    next >
Text File  |  1990-01-19  |  740b  |  35 lines

  1. ;
  2. ; Script for grabbing new messages from MBBS systems
  3. ; Must be executed from phonebook, or 'DIAL' command
  4. ; line must be inserted as well as password.
  5. ;
  6.  
  7.     when "--more--" send " "
  8.  
  9.     converse "" "^K"
  10.     converse "FIRST name"  "firstname;lastname\n"
  11.     converse "(dots will echo):"  "\p\n^K"
  12.  
  13.     ;Change character set to ISO
  14.     converse "Main Command"  "U S\n"
  15.     converse "IBN"  "\b\b\bISO\n"
  16.  
  17.     ;Get the messages...
  18.     converse "Utility Command"  "GRAB\n"
  19.  
  20.     ;Restore character set
  21.     converse "Command" "U S\n"
  22.     converse "ISO" "\b\b\bIBN\n"
  23.  
  24.     ;Scan for new files
  25.     converse "Command" "F N\n"
  26.     converse ":" "\n"
  27.     capture "RAM:files" ;Save in file
  28.     wait     "Command"
  29.     capture off
  30.  
  31.     ;Log off!
  32.     send "G Y\n"
  33.     wait "NO CARRIER"
  34.     message "\nEnd of script.\n"
  35.